{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "toc": true
   },
   "source": [
    "<h1>目录<span class=\"tocSkip\"></span></h1>\n",
    "<div class=\"toc\"><ul class=\"toc-item\"></ul></div>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pathlib import Path\n",
    "p = Path('.')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[PosixPath('converted'), PosixPath('.ipynb_checkpoints'), PosixPath('img')]"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "[x for x in p.iterdir() if x.is_dir()]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[PosixPath('mongodb aggregation.ipynb'),\n",
       " PosixPath('反转链表.ipynb'),\n",
       " PosixPath('writeup-zh.ipynb'),\n",
       " PosixPath('函数参数信息.ipynb'),\n",
       " PosixPath('Python 定时任务的实现.ipynb'),\n",
       " PosixPath('temp.ipynb'),\n",
       " PosixPath('Python annotations.ipynb'),\n",
       " PosixPath('pythonLEGB.ipynb'),\n",
       " PosixPath('关键字.ipynb'),\n",
       " PosixPath('自省.ipynb'),\n",
       " PosixPath('abstract.ipynb'),\n",
       " PosixPath('zip.ipynb'),\n",
       " PosixPath('删除链表的倒数第N个节点.ipynb'),\n",
       " PosixPath('类变为可调用对象.ipynb'),\n",
       " PosixPath('grpc .ipynb'),\n",
       " PosixPath('最长公共前缀.ipynb'),\n",
       " PosixPath('jupyter-notebook写博客.ipynb'),\n",
       " PosixPath('numpy.ipynb'),\n",
       " PosixPath('PHP项目从window10迁移到Linux(Ubuntu16.04 LTS).ipynb'),\n",
       " PosixPath('python中的audio.ipynb'),\n",
       " PosixPath('work账号和密码.ipynb'),\n",
       " PosixPath('ML.ipynb'),\n",
       " PosixPath('合并两个有序链表.ipynb'),\n",
       " PosixPath('Untitled1.ipynb'),\n",
       " PosixPath('python之staticmethod、classmethod.ipynb'),\n",
       " PosixPath('format.ipynb'),\n",
       " PosixPath('Git大法.ipynb'),\n",
       " PosixPath('converted'),\n",
       " PosixPath('jupyter-notebook博客文章自动管理.ipynb'),\n",
       " PosixPath('python tree.ipynb'),\n",
       " PosixPath('descriptor.ipynb'),\n",
       " PosixPath('Python基础.ipynb'),\n",
       " PosixPath('Btrfs备份系统.ipynb'),\n",
       " PosixPath('odm.ipynb'),\n",
       " PosixPath('asyncio.ipynb'),\n",
       " PosixPath('.ipynb_checkpoints'),\n",
       " PosixPath('Untitled.ipynb'),\n",
       " PosixPath('python-pandas.ipynb'),\n",
       " PosixPath('设置Ubuntu关机执行指令.ipynb'),\n",
       " PosixPath('python_logging.ipynb'),\n",
       " PosixPath('python队列.ipynb'),\n",
       " PosixPath('python之collections.queue.ipynb'),\n",
       " PosixPath('python内建模块-os.path.ipynb'),\n",
       " PosixPath('无人驾驶-定位.ipynb'),\n",
       " PosixPath('gRPC的Python实现学习记录.ipynb'),\n",
       " PosixPath('Linux使用总结.ipynb'),\n",
       " PosixPath('jupyter-notebook博客服务器.ipynb'),\n",
       " PosixPath('UbuntuServer16配置记录.ipynb'),\n",
       " PosixPath('异步生成器.ipynb'),\n",
       " PosixPath('音频库开发qt.ipynb'),\n",
       " PosixPath('micromongo.ipynb'),\n",
       " PosixPath('python-concurrent.features.ipynb'),\n",
       " PosixPath('python元组.ipynb'),\n",
       " PosixPath('python isinstance.ipynb'),\n",
       " PosixPath('img')]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "[x for x in p.iterdir()]"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "base"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "目录",
   "title_sidebar": "大纲",
   "toc_cell": true,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
